package
{
	import com.jidolstar.astro.ALConstellationInfo;
	import com.jidolstar.astro.ALConstellationManager;
	
	import flash.display.Sprite;

	/**
	 * 별자리 테스트 
	 * @author Yongho, Ji
	 * @since 2009.05.12
	 */ 
	public class testConstellationManager extends Sprite
	{
		public function testConstellationManager()
		{
			super();
			
			trace( "================================ test ConstellationManager ====================================");
			
			var info:ALConstellationInfo = ALConstellationManager.instance.getInfoFromSimpleName( "vul" );
			trace( info.simpleName ); //vul
			trace( ALConstellationManager.instance.getName( "vul", ALConstellationInfo.LANGUAGE_KR ) ); //작은여우 
			trace( ALConstellationManager.instance.getName( "and", ALConstellationInfo.LANGUAGE_KR ) ); //안드로메다
			trace( ALConstellationManager.instance.getName( "cvn", ALConstellationInfo.LANGUAGE_EN ) ); //Canes Venatici
			
			info = ALConstellationManager.instance.identifyConstellation( 0, 0, 2000 );
			trace( info.simpleName, info.getName( "kr" ) ); //psc 물고기
			
			info = ALConstellationManager.instance.identifyConstellation( 1, 0, 2000 );
			trace( info.simpleName, info.getName( "kr" ) ); //cet 고래
			
			var simpleNameList:Array = ALConstellationManager.instance.getSimpleNameList();
			trace( simpleNameList.toString() ); //for,tau,mus,leo,ari,cnc,lib,men,vir,vel,car,ant,peg,crt,tel,pup,pav,and,crb,psa,cyg,nor,cet,sco,ind,lac,ori,aps,dra,tri,equ,mic,crv,cma,psc,del,tra,cen,tuc,col,eri,lup,cir,cam,gem,scl,oph,cas,cap,sge,vul,hya,hyi,lyn,phe,cae,uma,boo,lyr,mon,aqr,ara,ret,oct,sgr,per,com,cmi,aql,vol,sct,dor,cep,hor,ser,her,aur,cra,umi,lep,cha,pic,cru,cvn,sex,gru,lmi,pyx
			
			
		}
		
	}
}